import React, { Component } from 'react'
// import Error from './components/Error'
// import ErrorBoundary from './components/ErrorBoundary'
// import Base from './components/Base'
import Router from './Router'
import {NavLink} from 'react-router-dom'
export default class App extends Component {
  render() {
    return (
      <div>
        <div>我是APP</div>
        {/* 以下是路由： */}
        <Router></Router>
        {/* exact严格匹配，精确匹配。推荐添加这个属性 */}
        {/* strict:添加这个属性后，会区分路径结尾有没有斜线。不太推荐添加。需要先添加exact，才能用这个 */}
        {/* <NavLink exact strict to="/" activeClassName="link">返回首页</NavLink><br/>
        <NavLink exact strict to="/notfound" activeClassName="link">404页</NavLink><br/>
        <NavLink exact strict to="/login" activeClassName="link">登录页</NavLink><br/>
        <NavLink exact strict to="/reg" activeClassName="link">注册页</NavLink><br/>
        <NavLink exact strict to="/csstransition" activeClassName="link">csstransition页</NavLink><br/> */}
        
        {/* <Base></Base> */}
        {/* <ErrorBoundary> */}
          {/* <Error></Error> */}
        {/* </ErrorBoundary> */}
      </div>
    )
  }
}
